import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-carouselforindex',
  templateUrl: './carouselforindex.component.html',
  styleUrls: ['./carouselforindex.component.css']
})
export class CarouselforindexComponent implements OnInit {
  images:Array<string>;

  constructor() { }

  ngOnInit() {
    this.images=new Array();
    this.images.push('/assets/images/1.jpg');
    this.images.push('/assets/images/2.jpg');
    this.images.push('/assets/images/3.jpeg');
  }

}
